projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8af0103
)
(w32_free_submenu_strings): Clear menu item struct
author
Jason Rumney
<jasonr@gnu.org>
Mon, 10 Dec 2001 22:52:51 +0000
(22:52 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Mon, 10 Dec 2001 22:52:51 +0000
(22:52 +0000)
before using.
src/w32menu.c
patch
|
blob
|
history
diff --git
a/src/w32menu.c
b/src/w32menu.c
index 99376360187cdd42c20f9b96f5240d3a53323d01..03ffb301f01e8df1460161c53be28e7567e07c63 100644
(file)
--- a/
src/w32menu.c
+++ b/
src/w32menu.c
@@
-2245,7
+2245,7
@@
w32_free_submenu_strings (menu)
for (i = 0; i < num; i++)
{
MENUITEMINFO info;
-
+ bzero (&info, sizeof (info));
info.cbSize = sizeof (info);
info.fMask = MIIM_DATA | MIIM_TYPE | MIIM_SUBMENU;